package priv.pront.code.mati.province;

import java.util.Scanner;

/**
 * @Description:
 * @Author: pront
 * @Time:2023-11-16 23:01
 */
public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String n = scanner.next();
        double nn = Double.parseDouble(n);
        int digit = 0;
        if (nn >= 10) {
            while (nn >= 10) {
                nn /= 10;
                digit++;
            }
        } else if (nn < 1) {
            while (nn < 1) {
                nn *= 10;
                digit--;
            }
        }

        if(nn == 1) {
            System.out.println("1E" + digit);
            return;
        }
        if (digit != 0) {
            System.out.println(nn + "E" + digit);
        } else {
            System.out.println(nn);
        }
    }
}
